package com.class05.lambda.function;

import org.junit.jupiter.api.Test;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2023/11/28 9:33
 */
public class MyFunctionalInterfaceTest {
    @Test
    public void test1(){

        MyFunctionalInterface m = () -> System.out.println("hello");
        m.method();
    }
}
